@import "ng-devui/styles-var/devui-var.scss";
@import "src/app/@shared/styles/common.scss";
d-button{
  margin-right: 12px;
}
.btn-group{
  margin-top: 8px;
}
.list-content{
  margin-top: 12px;
}
.devui-link-danger{
  color: #f66f6a;
  color: var(--devui-danger-text,#f66f6a);
  cursor: pointer;
  &:hover{
    text-decoration: underline;
  }
}
:host ::ng-deep .devui-toast{
  transform: translateX(-50%);
}
.ms-3{
  margin-left: 8px
}
.mt-3{
  margin-top: 8px
}
.da-list-wrap{
  height: 100%;
    display: flex;
    flex-direction: column;
}
.page-footer{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.underline{
  text-decoration: underline;
}
.list-content{
  height: calc(100vh - 330px);
}

:host ::ng-deep .devui-tag-item.true {
  background-color: $devui-green-60;
  color: $devui-light-text;
  box-sizing: border-box;
}
:host ::ng-deep .devui-tag-item.false {
  box-sizing: border-box;
  background-color: $devui-warning;
  color: $devui-light-text;
}

d-tag {
  margin: 4px;
}

.me-2{
  margin-right: 5px;
}
:host ::ng-deep .custom-class {
  .devui-toast-message-success{
  .devui-toast-item {
    width: 26em;
    color: #252b3a;
    background-color:$devui-success-bg;
    .devui-toast-icon-close{
      top: 10px;
      right: 13px;
      .devui-toast-close-icon {
        fill: #252b3a;
      }
    }
    .devui-toast-image {
      top: 15px;
    }
    .devui-toast-message {
      line-height: 23px;
      .devui-toast-title {
        font-size: 16px;
      }
      p {
        font-size: 14px;
      }
    }
  }
  }
  .devui-toast-item {
    color: #f3f3f3;
    background-color:$devui-red-50;
    width: 26em;
    .devui-toast-icon-close{
      top: 10px;
      right: 13px;
      .devui-toast-close-icon {
        fill: #252b3a;
      }
    }
    .devui-toast-image {
      top: 15px;
    }
    .devui-toast-message {
      line-height: 23px;
      .devui-toast-title {
        font-size: 16px;
      }
      p {
        white-space: nowrap;
        font-size: 14px;
      }
    }
  }
}
.da-content-wrapper{
  height: 0;
  flex-grow: 1;
  overflow: auto;
    display: flex;
    flex-direction: row;
}
.card{
  padding: 15px;
  height: 100%;
  flex-grow: 1;
  overflow: auto;
  position: relative;
  .flow{
    width: 100%;
    margin-top: 30px;
  }
  .flow-start{
    text-align: center;
    span{
      color: $devui-text-weak;
      font-size: $devui-font-size-card-title;
      font-weight: bold;
    }
  }
  .flow-end{
    text-align: center;
    span{
      color: $devui-text-weak;
      font-size: $devui-font-size-card-title;
      font-weight: bold;
    }
  }
  .puls-item{
    position: relative;
    text-align: center;
    .long-arrow{
      position: relative;
      width: 3px;
      height: 40px;
      background-color: $devui-text-weak;
      margin: 0 auto 10px;
      &:after{
        content: "";
        position: absolute;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 10px solid $devui-text-weak;
        border-bottom: 10px solid transparent;
        bottom: 0;
        left: 50%;
        transform: translate(-50%) translateY(100%);
      }
    }
    i{
      font-size: $devui-font-size-card-title;
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%);
      z-index: 1;
      color: $devui-text-weak;;
      background-color:$devui-base-bg;
      cursor: pointer;
    }
  }
  .flow-nodes{
    text-align: center;
    vertical-align: top;
    margin: 0 auto;
    width: 300px;
  }

}
.input-group{
  padding: 15px;
  width: 440px;
  border-left: 1px solid #ccc;
  background-color:$devui-base-bg;
  .title{
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    span{
      font-size: $devui-font-size-page-title
    }
  }
  .input-group-body{
    .input-g{
      display: flex;
      flex-direction: row;
      align-items: center;
      label{
        display: block;
        width: 80px!important;
        text-align: right;
        margin-right: 10px;
        font-size: $devui-font-size-card-title!important;
      }
      input{
        max-width: calc(100% - 100px);
        height: 28px!important;
      }
    }
  }
  .form-input-box{
    width: calc(100% - 80px);
  }
}
.button-group{
  padding: 15px;
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.mt-3{
  margin-top: 8px;
}
.mt-5{
  margin-top: 20px;
}

